USE [LeEdu]
GO

/****** Object:  Table [dbo].[t_questions]    Script Date: 16/7/14 15:04:43 ******/
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO

SET ANSI_PADDING ON
GO

CREATE TABLE [dbo].[t_questions](
	[Id] [int] IDENTITY(1,1) NOT NULL,
	[CourseId] [int] NOT NULL,
	[ClassHourId] [int] NOT NULL,
	[UserId] [int] NOT NULL,
	[Title] [varchar](100) NOT NULL,
	[QuestionType] [int] NOT NULL,
	[Options] [varchar](200) NULL,
	[Answer] [varchar](200) NULL,
	[Analysis] [varchar](200) NULL,
	[Difficulty] [int] NULL,
	[Score] [int] NULL,
	[CreateTime] [datetime] NOT NULL,
	[EditTime] [datetime] NULL,
 CONSTRAINT [PK_Questions_1] PRIMARY KEY CLUSTERED 
(
	[Id] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY]
) ON [PRIMARY]

GO

SET ANSI_PADDING OFF
GO



